package com.haoshuang.zhouzhoubang.ui.page.mine.wallet.frozen.detail


import com.haoshuang.zhouzhoubang.databinding.ItemDyBinding
import com.haoshuang.zhouzhoubang.model.bean.CyBean
import com.mufeng.libs.base.BaseBindingHolder
import com.mufeng.libs.base.BaseBindingQuickAdapter
import com.mufeng.libs.utils.view.load


/**
 * 订单模块中的订单列表适配器
 * */
class DyAdapter(data: MutableList<CyBean>) :
    BaseBindingQuickAdapter<CyBean, ItemDyBinding>(data){

    override fun onBindViewHolder(holder: BaseBindingHolder, position: Int, item: CyBean?) {
        val binding = ItemDyBinding.bind(holder.itemView)
        binding.apply {
            ivHead.load(item?.avatar)

        }
    }

}